package com.lsyw.intergrate.serviceImpl;

import com.lsyw.intergrate.entity.JcMassifFactorValue;
import com.lsyw.intergrate.mapper.JcMassifFactorValueMapper;
import com.lsyw.intergrate.service.JcMassifFactorValueService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * <p>
 * 监测数据表 服务实现类
 * </p>
 *
 * @author 刘磊
 * @since 2023-12-19
 */
@Service
public class JcMassifFactorValueServiceImpl extends ServiceImpl<JcMassifFactorValueMapper, JcMassifFactorValue> implements JcMassifFactorValueService {

    @Override
    public List<Map<String, Object>> getMaxDateList(Map<String, Object> condition) {
        return baseMapper.getMaxDateList(condition);
    }

    @Override
    public List<Map<String, Object>> getAvgInfo(Map<String, Object> condition) {
        return baseMapper.getAvgInfo(condition);
    }
    @Override
    public Map<String, Object> getAvgVoiceInfo(Map<String, Object> condition) {
        return baseMapper.getAvgVoiceInfo(condition);
    }

    @Override
    public List<Map<String, Object>> getDayInfo(Map<String, Object> condition) {
        return baseMapper.getDayInfo(condition);
    }

    @Override
    public List<JcMassifFactorValue> getList(Map<String, Object> condition) {
        return baseMapper.getList(condition);
    }

    @Override
    public List<String> getDeviceNoList(String massifId,Date startTime, Date endTime) {
        return baseMapper.getDeviceNoList(massifId,startTime,endTime);
    }
}
